home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_1.3 / Include-Strip1.3 / include.h / libraries / diskfont.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-07-15  |  842 b   |  46 lines

  1. #ifndef    LIBRARIES_DISKFONT_H
  2. #define    LIBRARIES_DISKFONT_H
  3. #ifndef    EXEC_NODES_H
  4. #include    "exec/nodes.h"
  5. #endif
  6. #ifndef    EXEC_LISTS_H
  7. #include    "exec/lists.h"
  8. #endif
  9. #ifndef    GRAPHICS_TEXT_H
  10. #include    "graphics/text.h"
  11. #endif
  12. #define    MAXFONTPATH    256
  13. struct    FontContents    {
  14. char    fc_FileName[MAXFONTPATH];
  15. UWORD    fc_YSize;
  16. UBYTE    fc_Style;
  17. UBYTE    fc_Flags;
  18. };
  19. #define    FCH_ID    0x0f00
  20. struct    FontContentsHeader    {
  21. UWORD    fch_FileID;
  22. UWORD    fch_NumEntries;
  23. };
  24. #define    DFH_ID    0x0f80
  25. #define    MAXFONTNAME    32
  26. struct    DiskFontHeader    {
  27. struct    Node    dfh_DF;
  28. UWORD    dfh_FileID;
  29. UWORD    dfh_Revision;
  30. LONG    dfh_Segment;
  31. char    dfh_Name[MAXFONTNAME];
  32. struct    TextFont    dfh_TF;
  33. };
  34. #define    AFB_MEMORY    0
  35. #define    AFF_MEMORY    1
  36. #define    AFB_DISK    1
  37. #define    AFF_DISK    2
  38. struct    AvailFonts    {
  39. UWORD    af_Type;
  40. struct    TextAttr    af_Attr;
  41. };
  42. struct    AvailFontsHeader    {
  43. UWORD    afh_NumEntries;
  44. };
  45. #endif
  46.